package com.jyw.business.obstacles.mapper;

import java.util.List;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jyw.business.obstacles.domain.ObsOrderProcess;

/**
 * 报障-工单处理流程Mapper接口
 * 
 * @author system
 * @date 2023-08-17
 */
public interface ObsOrderProcessMapper extends BaseMapper<ObsOrderProcess>
{
    /**
     * 查询报障-工单处理流程
     * 
     * @param id 报障-工单处理流程主键
     * @return 报障-工单处理流程
     */
    public ObsOrderProcess selectObsOrderProcessById(Long id);

    /**
     * 查询报障-工单处理流程列表
     * 
     * @param obsOrderProcess 报障-工单处理流程
     * @return 报障-工单处理流程集合
     */
    public List<ObsOrderProcess> selectObsOrderProcessList(ObsOrderProcess obsOrderProcess);

    /**
     * 新增报障-工单处理流程
     * 
     * @param obsOrderProcess 报障-工单处理流程
     * @return 结果
     */
    public int insertObsOrderProcess(ObsOrderProcess obsOrderProcess);

    /**
     * 修改报障-工单处理流程
     * 
     * @param obsOrderProcess 报障-工单处理流程
     * @return 结果
     */
    public int updateObsOrderProcess(ObsOrderProcess obsOrderProcess);

    /**
     * 删除报障-工单处理流程
     * 
     * @param id 报障-工单处理流程主键
     * @return 结果
     */
    public int deleteObsOrderProcessById(Long id);

    /**
     * 批量删除报障-工单处理流程
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteObsOrderProcessByIds(Long[] ids);
}
